package com.xsz.repository;

import com.xsz.entity.Info;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface InfoRepository extends JpaRepository<Info,String> {
    public List<Info> findByCreateby(String id);
    public List<Info> findByType(Integer integer);
    public List<Info> findByTileLikeAndProducttype(String title,String producttype);
//    public Info findById(String id);
}
